import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class HomeDateCard extends StatelessWidget {
  final String title;
  const HomeDateCard({super.key, this.title = ''});

  @override
  Widget build(BuildContext context) {
    return SizedBox(
        height: 40.0,
        child: Padding(
            padding: EdgeInsets.only(left: 15.0.w, right: 15.0.w),
            child: Row(children: [
              Text(title,
                  style: TextStyle(
                      color: Colors.grey.shade600,
                      fontSize: 15.0.sp,
                      fontWeight: FontWeight.w600),
                  textAlign: TextAlign.left),
              SizedBox(width: 10.0.w),
              const Expanded(
                  child: Divider(thickness: 0.5, color: Colors.black26)),
            ])));
  }
}
